package fr.polichouz.geotracer.sender.activities;

import fr.polichouz.geotracer.sender.GeotracerServiceAndroidImpl;
import fr.polichouz.geotracer.sender.R;
import fr.polichouz.geotracer.shared.GeotracerService;
import fr.polichouz.geotracer.shared.SimpleLocation;

import android.app.Activity;
import android.os.Bundle;

public class Main extends Activity {
    
    /** Service to use */
    private GeotracerService service;

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {

	super.onCreate(savedInstanceState);
	setContentView(R.layout.main);
	
	service = GeotracerServiceAndroidImpl.get();
	service.updateLocation(
		new SimpleLocation(478d, 584544d), 
		"yoyomoony@gmail.com", "this is NOT my real password");
    }
}